package com.example.emqx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@TableName("emp_auth")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class EmqAuth {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String username;
    private String password;
    private String result;
    private int isSuperuser;
}
